<template>
	<div class="error-page">
		<header-top></header-top>
		<van-empty image="error" description="您想要访问的页面不存在">
			<van-button round class="bottom-button" type="danger" @click="navTo('/game_hall')">返 回 游 戏 大 厅</van-button>
			<!-- <van-button round type="danger" class="bottom-button" @click="navTo('/game_hall')">返 回 游 戏 大 厅</van-button> -->
		</van-empty>
	</div>
</template>

<script>
import 'vant/lib/index.less';
import headerTop from '../Common/headerTop.vue';

export default {
	methods: {
		navTo(path){
			this.$router.push(path);
		}
	},
	components: {headerTop},
}
</script>
<style scoped lang="less">
	.van-empty {
	    padding: 40% 0;
	}
	.bottom-button {
	    width: 160px;
	    height: 40px;
	}
</style>